-- GENERATED SPELL FOR [Entropic Ooze] --


function spell0_26366(pUnit, Event) --@Crude Ooze,n/a--
pUnit:FullCastSpellOnTarget(52334,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26366', 5275, 1)
end

function Sorts_26366(pUnit, Event)
local choix_sorts_26366 = math.random(0, 0)
if choix_sorts_26366 == 0 then
pUnit:RegisterEvent('spell0_26366', 1, 1)
end
end

function mob26366_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26366', math.random(1500, 3000), 1)
end

function mob26366_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26366_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26366_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26366, 1, 'mob26366_Action')
RegisterUnitEvent(26366, 2, 'mob26366_Leave')
RegisterUnitEvent(26366, 3, 'mob26366_Kill')
RegisterUnitEvent(26366, 4, 'mob26366_Die')
